package cn.zhaotianen.codegenerator.domain;

import java.util.ArrayList;
import java.util.List;
public class Method {

    private String name = "";
    private String description = "";
    private String requestName = "";
    private String responseName = "";

    private List<String> requestImports = new ArrayList<String>();
    private List<String> responseImports = new ArrayList<String>();
    private List<Field> requestFields = new ArrayList<Field>();
    private List<Field> responseFields = new ArrayList<Field>();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRequestName() {
        return requestName;
    }

    public void setRequestName(String requestName) {
        this.requestName = requestName;
    }

    public String getResponseName() {
        return responseName;
    }

    public void setResponseName(String responseName) {
        this.responseName = responseName;
    }

    public List<String> getRequestImports() {
        return requestImports;
    }

    public void setRequestImports(List<String> requestImports) {
        this.requestImports = requestImports;
    }

    public List<String> getResponseImports() {
        return responseImports;
    }

    public void setResponseImports(List<String> responseImports) {
        this.responseImports = responseImports;
    }

    public List<Field> getRequestFields() {
        return requestFields;
    }

    public void setRequestFields(List<Field> requestFields) {
        this.requestFields = requestFields;
    }

    public List<Field> getResponseFields() {
        return responseFields;
    }

    public void setResponseFields(List<Field> responseFields) {
        this.responseFields = responseFields;
    }
}
